package com.jianyun.jyzs.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Created by yangshijun on 2018/7/18.
 * 桌面数字角标
 */
@DatabaseTable(tableName = "badgenum")
public class BadgeBean implements Serializable {
    @DatabaseField(generatedId=true,columnName="autoId")
    private Integer autoId ;//主键
    @DatabaseField
    private String userId;
    @DatabaseField
    private int badgeCount;
    @DatabaseField
    private int msgCount;
    @DatabaseField
    private int oaCount;


    public Integer getAutoId() {
        return autoId;
    }

    public void setAutoId(Integer autoId) {
        this.autoId = autoId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getBadgeCount() {
        return badgeCount;
    }

    public void setBadgeCount(int badgeCount) {
        this.badgeCount = badgeCount;
    }

    public int getMsgCount() {
        return msgCount;
    }

    public void setMsgCount(int msgCount) {
        this.msgCount = msgCount;
    }

    public int getOaCount() {
        return oaCount;
    }

    public void setOaCount(int oaCount) {
        this.oaCount = oaCount;
    }

    @Override
    public String toString() {
        return "BadgeBean{" +
                "autoId=" + autoId +
                ", userId='" + userId + '\'' +
                ", badgeCount=" + badgeCount +
                ", msgCount=" + msgCount +
                ", oaCount=" + oaCount +
                '}';
    }
}
